/*
 * Name: Minh-Tuan ta
 */

package beans;

import java.sql.Date;
import java.sql.Timestamp;

/*
 * Author: Minh-Tuan Ta
 * Date: 11/06/11
 * Class: User
 * This class serves as the data transfer object for User table
 */
public class User {
	private int userid;
	private String username;
	private String firstname;
	private String lastname;
	private String email;
	private String password;
	private Date dob;
	private boolean gender;
	private String phone;
	private String address1;
	private String address2;
	private String city;
	private String state;
	private String zip;
	private Timestamp lastlogin;
	private String picturepath;
	
	public int getUserID() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public String getUserName() {
		return username;
	}
	public void setUserName(String username) {
		this.username = username;
	}
	public String getFirstName() {
		return firstname;
	}
	public void setFirstName(String firstname) {
		this.firstname = firstname;
	}
	public String getLastName() {
		return lastname;
	}
	public void setLastName(String lastname) {
		this.lastname = lastname;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Date getDob() {
		return dob;
	}
	public void setDob(Date dob) {
		this.dob = dob;
	}
	public boolean isGender() {
		return gender;
	}
	public void setGender(boolean gender) {
		this.gender = gender;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getAddress1() {
		return address1;
	}
	public void setAddress1(String address1) {
		this.address1 = address1;
	}
	public String getAddress2() {
		return address2;
	}
	public void setAddress2(String address2) {
		this.address2 = address2;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getZip() {
		return zip;
	}
	public void setZip(String zip) {
		this.zip = zip;
	}
	public Timestamp getLastlogin() {
		return lastlogin;
	}
	public void setLastlogin(Timestamp lastlogin) {
		this.lastlogin = lastlogin;
	}
	public String getPicturePath()
	{
		return this.picturepath;
	}
	public void setPicturePath(String picturepath)
	{
		this.picturepath = picturepath;
	}
}
